<template>
  <div id="app">
    <van-tabbar v-if="!$route.meta.Nav" :fixed="true" route active-color="#fc4141" inactive-color="#282828">
      <van-tabbar-item icon="wap-home-o" to="/">首页</van-tabbar-item>
      <van-tabbar-item to='/category' icon="search">分类</van-tabbar-item>
      <van-tabbar-item to='/cart' icon="shopping-cart-o">购物车</van-tabbar-item>
     <van-tabbar-item icon="contact" to="/user">个人中心</van-tabbar-item>
    </van-tabbar>
    <!-- <keep-alive> -->
      <router-view/>
    <!-- </keep-alive> -->
    
  </div>
</template>

<style lang="less">
#app{
  padding-bottom:50px;
  .van-tabbar--fixed{
    z-index: 10;
  }
}
</style>

